import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '../views/Home.vue'
import food from '../views/food.vue'
import historyorder from '../views/historyorder.vue'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    component: Home
  },
  {
	path: '/food/:local',
	component: food,
  },
  {
	path: '/historyorder',
	component: historyorder,
  }
]

const router = new VueRouter({
  routes
  
  
})

export default router
